
export default ({ app, store, req, $axios, redirect, route }) => {
  
  // //console.log("app.router",app.router)
  app.router.onReady(()=>{
    //console.log("onReady route:",route)
  })
  app.router.beforeEach((to, from, next) => {
    // //console.log("route:",route)
    // //console.log("app.router",app.router.getRoutes())
    // const routeOne = app.router.getRoutes()[0];
    // routeOne['path']="/";
    // routeOne['name']="WebIndex";
    // app.router.addRoute(routeOne);
    // //console.log("app.router",app.router.getRoutes())
    next();
  });
 
   

}